package com.lg.wechat.handler;

import java.util.Map;

import org.springframework.stereotype.Component;

import com.lg.wechat.common.annotation.Clear;

import me.chanjar.weixin.common.api.WxConsts.MenuButtonType;
import me.chanjar.weixin.common.session.WxSessionManager;
import me.chanjar.weixin.mp.api.WxMpService;
import me.chanjar.weixin.mp.bean.message.WxMpXmlMessage;
import me.chanjar.weixin.mp.bean.message.WxMpXmlOutMessage;

/**
 * @author Binary Wang(https://github.com/binarywang)
 */

@Component
@Clear
public  class ScanHandler extends AbstractHandler {

	
	  @Override
	  public WxMpXmlOutMessage handle(WxMpXmlMessage wxMessage,
	                                  Map<String, Object> context, WxMpService weixinService,
	                                  WxSessionManager sessionManager) {

	 
		  logger.info("扫码---------------------------");
		  wxMessage.getEventKey();
		  return null;
          }
}